<%--
  Created by IntelliJ IDEA.
  User: lub_lenovo
  Date: 2017/8/7
  Time: 16:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <title>登陆-会员管理系统</title>
    <link rel="stylesheet" href="/js/node_modules/bootstrap/dist/css/bootstrap.min.css">
    <script src="/js/node_modules/jquery/dist/jquery.min.js"></script>
    <script src="/js/node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
    <style>
        .container>form>h1{
            text-align: center;
            margin-top: 100px;
        }
    </style>
</head>

<body>
<div class="container">
    <form method="post" class="form-horizontal" action="${pageContext.request.contextPath}/admin/login.do">
        <h1>管理员登录</h1>
        <div class="form-group">
            <label for="txtUserName" class="col-sm-2 col-sm-offset-3 control-label">用户名</label>
            <div class="col-sm-4">
                <input type="text"  name="name"  value="${errorAdmin.name}" class="form-control" id="txtUserName" placeholder="用户名">
            </div>
        </div>
        <div class="form-group">
            <label for="txtPassword" class="col-sm-2 col-sm-offset-3 control-label">密码：</label>
            <div class="col-sm-4">
                <input type="password" name="pwd" value="${errorAdmin.pwd}"  class="form-control" id="txtPassword" placeholder="密码：">
            </div>
        </div>
        <!-- <div class="form-group">
            <div class="col-sm-offset-2 col-sm-4">
                <div class="checkbox">
                    <label>
                        <input type="checkbox"> Remember me
                    </label>
                </div>
            </div>
        </div> -->
        <div class="form-group">
            <div class="col-sm-offset-5 col-sm-4">
                <button type="submit" class="btn btn-default">登陆</button>
            </div>
        </div>
    </form>
    ${msg}
</div>
</body>

</html>


